package main

import (
	"daemonize/newdaemon"
	"flag"
	"fmt"
)

func main() {
	fmt.Println("分目录工作...")

	daemonMode := flag.Bool("d", false, "Run as a daemon")
	flag.Parse()

	newdaemon.Run(*daemonMode)
}
